:root {
	--totalWid: 100%;
	--themeColor: #00bdff;
}

html,
body {
	width: var(--totalWid);
	min-width: 1200px;
}

/* 头部 */
#header {
	width: 100%;
	height: 66px;
	min-width: 1200px;
}

header {
	top: 0;
	left: 0;
	z-index: 40;
	padding: 0 20px;
	width: 100%;
	height: 66px;
	border-bottom: 1px solid #ddd;
	min-width: 1200px;
}

header > a {
	display: block;
	width: 138px;
	height: 33px;
}

header > a h1 {
	height: 33px;
	background: url(../imgs/new-logo-white2.png) no-repeat;
}

header ul {
	height: 66px;
}

header ul li {
	margin: 10px;
	height: 64px;
	line-height: 64px;
}

header ul li a {
	color: #000;
	font-size: 16px;
}

header ul li.active {
	border-bottom: 2px solid var(--themeColor);
}

header ul li.active a {
	color: var(--themeColor);
}

header div span {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 15px;
	font-size: 12px;
}

header div span:first-child {
	border: 1px solid #000;
}

header div span:last-child {
	background-color: #ed510a;
}
header div span .a-first {
	color: #000;
}
header div span .a-last {
	color: #fff;
}
/* 主体部分 */
main {
	width: 100%;
}
/* 主体 API分类 */
#apiList .text {
	height: 200px;
}
#apiList h2 {
	padding: 48px 0 24px 0;
}
#apiCateList {
	height: 66px;
	display: flex;
	flex-wrap: wrap;
	align-content: space-between;
}
#apiCateList li {
	font-size: 12px;
	padding: 3px 14px;
	border: 1px solid #dddddd;
	border-radius: 4px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #666666;
	margin-right: 12px;
	cursor: pointer;
}
#apiCateList li.active {
	border: 1px solid #6ed9ff;
	color: #6ed9ff;
}
/* 搜索框 */
#search-box {
	height: 80px;
	width: 360px;
	display: flex;
	align-items: center;
}
#search-box strong {
	margin-right: 22px;
}
#search {
	width: 230px;
	height: 32px;
	border-radius: 15px;
	background-color: #f4f4f4;
	display: flex;
	align-items: center;
	justify-content: space-evenly;
}
#search input {
	border: 0;
	background-color: #f4f4f4;
	font-size: 12px;
	outline: none;
	color: #757575;
}
/* 下面小盒子 */
/* #Box {
	height: 1130px;
} */
#Box .apiBox {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#Box .apiBox li {
	width: 228px;
	height: 270px;
	/* #f8f9fb */
	border: 1px solid #000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-bottom: 13px;
	position: relative;
	overflow: hidden;
}
#Box .apiBox li:hover {
	box-shadow: 6px 6px 18px #666;
	cursor: pointer;
}
#Box .apiBox li:hover a {
	bottom: 15px;
}
#Box li p:nth-child(2) {
	line-height: 44px;
	font-size: 14px;
}
#Box li p:nth-child(3) {
	font-size: 16px;
	/* color: green; */
	line-height: 24px;
}
#Box li a {
	width: 190px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	color: #fff;
	background-color: #00bdff;
	border: 1px solid #00bdff;
	position: absolute;
	bottom: -40px;
	transition: bottom 0.5s ease-out;
}
#Box li span {
	display: block;
	width: 60px;
	height: 20px;
	text-align: center;
	position: absolute;
	font-size: 13px;
	background-color: #e5f8ff;
	color: var(--themeColor);
	line-height: 20px;
	left: 10px;
	top: 10px;
}
/* 分页器 */
#pagination {
	width: 100%;
	height: 200px;
}

#pagination ul {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	margin: 0 auto;
	width: 300px;
	padding-top: 85px;
}

#pagination ul li {
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	font-size: 16px;
	border-radius: 50%;
	color: #000;
}

#pagination ul li.active {
	color: #fff;
	background-color: var(--themeColor);
}

#pagination ul li:hover {
	cursor: pointer;
}
/* 尾部 */
footer {
	width: 100%;
	height: 330px;
	padding-top: 45px;
	background-color: #f8f8f8;
}
footer p {
	font-size: 10px;
	color: #c7c5c4;
}
footer ul {
	width: 720px;
	height: 204px;
	margin-bottom: 78px;
}
footer ul li p {
	margin: 15px 0;
}

footer ul li h5 {
	margin-bottom: 30px;
}
footer .text-b {
	text-align: left;
}

footer .wx {
	width: 234px;
	height: 267px;
	text-align: right;
}
footer .wx h4 {
	margin: -14px 0 12px 0;
}
footer .wx .code {
	margin: 35px 0 110px 0;
}

#mask {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 70;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 30%);
}

#loginModal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	box-sizing: border-box;
	padding: 26px 20px;
	width: 400px;
	height: 550px;
	background-color: #fff;
}
#loginModal input {
	border: none;
	outline: none;
}
#loginModalLogo {
	margin: 0 auto;
	margin-bottom: 26px;
	width: 180px;
	height: 50px;
	background: url(../imgs/new-logo-white2.png) no-repeat;
}

#loginModalTab {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
	width: 100%;
	height: 40px;
}

#loginModalTab a {
	width: 160px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-size: 16px;
	color: #555555;
}

#loginModalTab a.active {
	position: relative;
	color: var(--themeColor);
}

#loginModalTab a.active::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%);
	display: block;
	content: "";
	width: 30%;
	height: 2px;
	background-color: var(--themeColor);
}

#loginModalTab i {
	width: 1px;
	height: 20px;
	background-color: #eeeeee;
}
/* 用户名 */
#loginUser i {
	display: inline-block;
	width: 20px;
	height: 30px;
	background-image: url(../imgs/loginIcon.png);
	background-position: -58px 3px;
	margin-right: 5px;
}
#loginUser {
	width: 100%;
	height: 40px;
	display: flex;
	margin-bottom: 15px;
	line-height: 40px;
	border-bottom: 1px solid #e7e7e7;
}

/* 密码 */
#loginPwd {
	display: flex;
	width: 100%;
	height: 40px;
	margin-bottom: 15px;
	line-height: 40px;
	border-bottom: 1px solid #e7e7e7;
}
#loginPwd i {
	display: inline-block;
	width: 20px;
	height: 30px;
	background-image: url(../imgs/loginIcon.png);
	background-position: -109px 4px;
	margin-right: 5px;
}

#forgetPwd {
	text-align: right;
	padding-bottom: 16px;
}
#forgetPwd a {
	color: var(--themeColor);
}
#loginBtn {
	width: 100%;
	height: 46px;
	line-height: 46px;
	background-color: transparent;
	color: var(--themeColor);
	font-size: 16px;
}
#loginBtn:hover {
	color: #fff;
}
#register {
	line-height: 50px;
	font-size: 14px;
	color: #909090;
	padding-left: 142px;
}
#register span {
	color: var(--themeColor);
}
/* 二维码扫码登录 */
#code div {
	box-sizing: border-box;
	width: 290px;
	height: 240px;
	background-color: #fcfcfc;
	border: 1px solid #eeeeee;
	text-align: center;
	padding: 36px 0 32px 0;
	margin-left: 35px;
}
#code div p {
	font-size: 12px;
}
#code div p:nth-child(2) {
	padding: 10px 0;
}
#register-two {
	line-height: 50px;
	font-size: 14px;
	color: #909090;
	margin-left: 35px;
}
#register-two span {
	color: var(--themeColor);
}
